<?php

namespace Api\Controller;

use Think\Controller;
use Think\Vender;

class QrcodeController extends Controller {

    function index() {

        Vendor('qrcode.CQrcode');
        $qrcode = new \CQrcode();
        $value = $_REQUEST['value'];
        $max = $_REQUEST['size'];
        $level = $_REQUEST['level'];
        $filename = $_REQUEST['filename'];
        $logo = $_REQUEST['logo'];
        $qrcode->qrcode($value, $max, $level, $filename, $logo);
       
    }

}

?>